package com.hm.scala.senior

import java.io.PrintWriter
import java.util.UUID

object FileWriter {
  
  def main(args: Array[String]): Unit = {
    
    var log = new PrintWriter("d:/20180330.log")
    
    log.write(UUID.randomUUID().toString)
    
    log.close()
    
  }
}